InterceptUrlRequestCallback

public interface InterceptUrlRequestCallback implements SyncCallback<P, R>

The callback is invoked when a URL request is about to be sent out.

The callback can be used to intercept a URL request and send a URL response as it was sent from a web server or let the engine decide how to process the URL request.

Types

Link copied to clipboard
public interface Params
The parameters of the InterceptUrlRequestCallback.
Link copied to clipboard
public interface Response

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.